package com.qst.crop.dao;

import com.qst.crop.entity.Reserve;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ReserveDao {

    //增加预约
    int insertSelective(Reserve record);

    //查询个人预约
    List<Reserve> selectByReserve(Reserve record);

    //根据id修改预约
    int updateByPrimaryKeySelective(Reserve record);

    //删除预约
    int deleteByPrimaryKey(Integer id);

    //根据id查询预约
    Reserve selectByPrimaryKey(Integer id);

}